package ascii2mathmlconverter;

import org.antlr.runtime.*;
import ascii2mathmlconverter.analyzer.*;
import java.io.File;

public class ASCII2MathML {

    public ASCII2MathML() {
        
    }
    
    public String parse(String input) throws Exception {
        CharStream csinput = new ANTLRStringStream(input);
        ascii2mathmlLexer lex = new ascii2mathmlLexer(csinput);
        CommonTokenStream tokens = new CommonTokenStream(lex);
        ascii2mathmlParser parser = new ascii2mathmlParser(tokens);
        return parser.s();
    }
}
